import Home from "../views/home/index"
import About from "../views/about/index"
import Text from "../views/text/text"
import TextSon from "../views/text/textSon"
import TextStore from "../views/textStore/index"
import Toolkit from "../views/toolkit/index"
import Login from "../views/login/index"

const router = [
   {
      path: "/",
      component: Home,
   },
   {
      path: "/about",
      component: About,
   },
   {
      path: "/text",
      component: Text,
      children: [
         {
            path: "textSon",
            component: TextSon
         }
      ]
   },
   {
      path: "/textStore",
      component: TextStore
   },
   {
      path: "/toolkit",
      component: Toolkit
   },
   {
      path: "/login",
      component: Login
   },


]

export default router